//
//  UIColor+Style.m
//  mobile
//
//  Created by Demi on 07/12/2016.
//  Copyright © 2016 azazie. All rights reserved.
//

#import "UIColor+Style.h"
#import "TXFire.h"


#pragma mark - Basic

NSInteger const UIColorBackgroundColorHex                       = 0xf5f5f5;
NSInteger const UIColorTextColorHex                             = 0x424242;
NSInteger const UIColorBorderColorHex                           = 0xcccccc;
NSInteger const UIColorErrorBackgroundColorHex                  = 0xf65e5f;
NSInteger const UIColorSeparatorColorHex                        = UIColorBorderColorHex;

#pragma mark - Button

NSInteger const UIColorButtonBackgroundColorHex                 = 0xd68e96;
NSInteger const UIColorDisabledButtonBackgroundColorHex         = 0xf8c7d7;
NSInteger const UIColorHighlightedButtonBackgroundColorHex      = 0xce7e87;

#pragma mark - Text Field

NSInteger const UIColorTextFieldBorderColorHex                  = 0xa7a7a7;
NSInteger const UIColorTextFieldTextColorHex                    = 0x333333;

#pragma mark - TableView

NSInteger const UIColorTableViewSeparatorColorHex               = 0xeeeeee;

#pragma mark - Spec

NSInteger const UIColorFacebookColorHex                         = 0x5464aa;


@implementation UIColor (Style)

#pragma mark ——————————项目主题色相关——————————
NSInteger const UIColorAzazieColorHex = 0xe2a3aa;
+ (UIColor *) azazieColor
{
    return [UIColor tx_colorWithHex:UIColorAzazieColorHex];
}

NSInteger const UIColorLightAzazieColorHex = 0xf5d8dd;
+ (UIColor *)lightAzazieColor
{
    return [UIColor tx_colorWithHex:UIColorLightAzazieColorHex];
}

NSInteger const UIColorDarkAzazieColorHex = 0xd68e96;
+ (UIColor *)darkAzazieColor
{
    return [UIColor tx_colorWithHex:UIColorDarkAzazieColorHex];
}

NSInteger const UIColorHighlightedDarkAzazieColorHex = 0xce7e87;
+ (UIColor *)highlightedDarkAzazieColor
{
    return [UIColor tx_colorWithHex:UIColorHighlightedDarkAzazieColorHex];
}

NSInteger const UIColorDisabledDarkAzazieColorHex = 0xf8c7d7;
+ (UIColor *)disabledDarkAzazieColor
{
    return [UIColor tx_colorWithHex:UIColorDisabledDarkAzazieColorHex];
}

#pragma mark ——————————常用字体颜色相关——————————
NSInteger const UIColorLightTextColorHex = 0xa7a7a7;
+ (UIColor *)lightTextColor
{
    return [UIColor tx_colorWithHex:UIColorLightTextColorHex];
}

NSInteger const UIColorGrayTextColorHex = 0x666666;
+ (UIColor *)grayTextColor
{
    return [UIColor tx_colorWithHex:UIColorGrayTextColorHex];
}

NSInteger const UIColorDarkGrayTextColorHex = 0x333333;
+ (UIColor *)darkGrayTextColor
{
    return [UIColor tx_colorWithHex:UIColorDarkGrayTextColorHex];
}

NSInteger const UIColorLightGrayTextColorHex = 0x999999;
+ (UIColor *)lightGrayTextColor
{
    return [UIColor tx_colorWithHex:UIColorLightGrayTextColorHex];
}

#pragma mark ——————————边框颜色——————————
NSInteger const UIColorBorderColor = 0xcccccc;
+ (UIColor *)borderColor
{
    return [UIColor tx_colorWithHex:UIColorBorderColor];
}

@end
